projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0984d16
)
Fix the scrolledwindow test
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 31 Aug 2016 19:04:57 +0000
(15:04 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 31 Aug 2016 19:04:57 +0000
(15:04 -0400)
These tests were written for the propagate-nat-size semantics,
so opt in to it.
testsuite/gtk/scrolledwindow.c
patch
|
blob
|
history
diff --git
a/testsuite/gtk/scrolledwindow.c
b/testsuite/gtk/scrolledwindow.c
index 317f91313511e560ac2da5ad26cc8d6ac8e8c71b..b62b32393d4fe99fcf201ae925a44f7031c9c17b 100644
(file)
--- a/
testsuite/gtk/scrolledwindow.c
+++ b/
testsuite/gtk/scrolledwindow.c
@@
-22,6
+22,8
@@
test_size (GtkOrientation orientation,
gtk_widget_set_vexpand (box, TRUE);
scrolledwindow = gtk_scrolled_window_new (NULL, NULL);
+ gtk_scrolled_window_set_propagate_natural_width (GTK_SCROLLED_WINDOW (scrolledwindow), TRUE);
+ gtk_scrolled_window_set_propagate_natural_height (GTK_SCROLLED_WINDOW (scrolledwindow), TRUE);
gtk_container_add (GTK_CONTAINER (scrolledwindow), box);
gtk_widget_show_all (scrolledwindow);